@import './common';

p,
h3 {
  margin: 0;
  padding: 0;
}

.flash {
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: #8bc01f;

  .container {
    .row {
      .flash-box {
        color: #fff;

        .flash-title {
          margin-top: 8%;
          padding-top: 1%;
          padding-bottom: 1%;
          display: flex;
          display: -webkit-flex;
          font-size: 48px;

          >p:first-child {
            margin-right: 2%;
            padding-left: 4%;
            padding-right: 4%;
            color: #8bc01f;
            border-radius: 5px;
            background-color: #fff;
          }
        }

        .flash-text {
          padding-left: 2%;

          h3 {
            margin-top: 8%;
            margin-bottom: 18%;
            font-size: 24px;
          }

          p {
            margin-bottom: 5%;
            font-size: 14px;
            line-height: 200%;
          }

          button {
            margin-top: 2%;
            padding: 1% 3%;
            background-color: #e8f2d2;
            border: none;
            outline: none;
            cursor: pointer;
            border-radius: 5px;
            color: #8bc01f;
            font-size: 14px;
          }
        }

      }
    }


    .flash-pic {
      img {
        width: 100%;
      }
    }
  }
}

.player {
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: #3393df;
  color: #fff;

  .container {
    .player-title {
      margin-top: 4%;
      margin-bottom: 2%;
      padding-top: 1%;
      padding-bottom: 1%;
      display: flex;
      display: -webkit-flex;
      font-size: 48px;

      >p:first-child {
        margin-right: 1.5%;
        padding-left: 2%;
        padding-right: 2%;
        color: #3393df;
        border-radius: 5px;
        background-color: #fff;
      }
    }

    .player-box {
      display: flex;
      display: -webkit-flex;
      justify-content: space-around;

      .player-left {
        align-self: flex-start;

        img {
          width: 100%;
        }
      }

      .player-middle {
        width: 27%;

        h3 {
          margin-top: 5%;
          margin-bottom: 2%;
        }

        p {
          line-height: 200%;
        }
      }

      .player-right {
        margin-top: 10%;
        align-self: flex-end;

        img {
          width: 100%;
        }
      }
    }
  }
}

.air {
  .container {
    padding-top: 3%;
    padding-bottom: 3%;

    .row {
      .air-title {
        margin-top: 4%;
        margin-bottom: 2%;
        padding-top: 1%;
        padding-bottom: 1%;
        display: flex;
        display: -webkit-flex;
        color: #489be1;
        font-size: 42px;

        >p:first-child {
          margin-right: 2%;
          padding-left: 3%;
          padding-right: 3%;
          color: #fff;
          border-radius: 5px;
          background-color: #3393df;
        }
      }

      p {
        min-height: 40px;
      }

      h4 {
        margin-top: 4%;
        font-size: 16px;
        line-height: 150%;
      }

      .blue-text {
        margin-top: 8%;
        color: #3393df;
      }

      p:nth-of-type(1),
      p:nth-of-type(2),
      p:nth-of-type(3) {
        text-indent: 3%;
      }

      .air-pic {
        margin: 5% auto 0;
        transform: translateX(-50%);
        width: 25%;

        img {
          width: 100%;
        }
      }

    }

  }
}

.store {
  background-color: #f7f7f7;
}

@media screen and (min-width:992px) and (max-width:1200px) {
  .flash {
    .container {
      .row {
        .flash-box {
          .flash-title {
            margin-top: 5%;
            font-size: 40px;
          }

          .flash-text {
            h3 {
              margin-top: 6%;
              margin-bottom: 13%;
              font-size: 19px;
            }
          }
        }
      }

    }
  }

  .player {
    .container {
      .player-title {
        font-size: 40px;
      }

      .player-box {
        .player-middle {
          width: 30%;

          h3 {
            font-size: 22px;
          }
        }

        .player-right {
          margin-top: 13%;
        }
      }
    }
  }

  .air {
    .container {
      .row {
        .air-title {
          font-size: 38px;

        }
      }
    }
  }
}

@media screen and (max-width:992px) {
  .flash {
    .container {
      .row {
        .flash-box {
          .flash-title {
            margin-top: 2%;
            font-size: 36px;
          }

          .flash-text {
            h3 {
              margin-top: 4%;
              margin-bottom: 9%;
              font-size: 15px;
            }

            p {
              margin-bottom: 2%;
              font-size: 13px;
            }
          }
        }
      }

    }
  }

  .player {
    .container {
      .player-title {
        font-size: 36px;
      }

      .player-box {
        .player-middle {
          width: 51%;

          h3 {
            font-size: 20px;
          }

          p {
            font-size: 13px;
          }
        }

        .player-right {
          margin-top: 15%;
        }
      }
    }
  }

  .air {
    .container {
      .row {
        .air-title {
          font-size: 34px;
        }

        .htitle{
        min-height: 48px;
        }
      }
    }
  }
}

@media screen and (max-width:767.5px) {
  .flash {
    .container {
      .row {
        .flash-box {
          .flash-title {
            margin-top: 2%;
            font-size: 36px;

            >p:first-child {
              padding-left: 2%;
              padding-right: 2%;
            }
          }

          .flash-text {
            h3 {
              margin-top: 4%;
              margin-bottom: 6%;
              font-size: 20px;
            }

            p {
              margin-bottom: 2%;
              font-size: 12px;
            }

            button {
              display: block;
              margin: 5% auto 0;
              font-size: 20px;
            }
          }
        }
      }
    }
  }

  .player {
    padding-bottom: 6%;

    .container {
      .player-title {
        font-size: 36px;
      }

      .player-box {
        flex-wrap: wrap;

        .player-left {
          text-align: center;

          img {
            width: 70%;
          }
        }

        .player-middle {
          width: auto;

          h3 {
            font-size: 20px;
          }

          p {
            font-size: 13px;
          }
        }

        .player-right {
          margin-top: 0;
          width: 0;
          height: 0;
          overflow: hidden;
        }
      }
    }
  }

  .flash-pic {
    overflow: hidden;
  }

  .air {
    .container {
      .row {
        .air-title {
          font-size: 34px;
          margin-top: 10%;
        }

        p {
          min-height: auto;
        }

        h4{
          margin-top: 0;
          margin-bottom: 4%;
        }

        .blue-text{
          margin-top: 3%;
          margin-bottom: 1%;
        }

        .air-pic{
          margin: 0;
          padding: 0;
          width: 0;
          overflow: hidden;
        }
      }
    }
  }
}